
public class Bird implements MoodListener{
	
	public void moodReceived(MoodEvent event){
		if(event.mood() == Mood.HAPPY){
			System.out.println("Bird is Singing");
		}
		else if(event.mood() == Mood.ANNOYED){
			System.out.println("Bird is silent!");
		}
		else
		{
			System.out.println("Bird is flying away!");
		}
	}

}
